package com.hbnu.test.www.Exception_Test;

import com.hbnu.test.www.Equals.Equalss;

import java.util.Date;
import java.util.Scanner;

//class Strr01{
//    String name;
//
//    public String getName() {
//        return "name";
//    }
//}

public class Exception01 {


    public static void main(String[] args) throws Exception00 {
        Scanner sc = new Scanner(System.in);
        String sw = "abcdef";
        int ht = 7788;
        int ht1 = sc.nextInt();
        String sw1 = sc.next();
        for (int i = 0; i < 3; i++) {
            if(ht1 == ht&&sw.equals(sw1)){
                System.out.println("Success");
                break;
            }
            else{
                System.out.println("Continue");
            }
            if(i==2){
                try{
                    throw new Exception00();
                }
                catch(Exception e){
                    e.printStackTrace();
                    System.out.println("Error!");
                }

            }
        }
//        Date date = new Date();
//        Strr01 str = new Strr01();
//        Date dt;
//        int[]arr = new int[1];
//        try {
//            arr[2] = 3;
//        } catch (Exception e) {
////            e.printStackTrace();
//            throw new RuntimeException("hahaha");
//
//        }
//        int result = 0;
//        result = divide(4,0);
//        System.out.println(result);

    }
//    public static int divide(int x,int y){
//        if(y==0)
//            throw new ArithmeticException("0000000!!!");
////        int result = x/y;
//        return x/y;
//    }
}
